package com.scpcfe.www.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController   //告诉spring boot框架，表示下面的类里面有接口
public class Login {
    @GetMapping("/login_2")    //告诉spring boot框架下面这个接口是get方法
    public String world(String user , String pwd) {
        return "hello ," + user + pwd ;
    }
}
